home *** CD-ROM | disk | FTP | other *** search
-
- In article <828.6649T501T491@login.eunet.no> patrick.hanevold@login.eunet.no (Patrick Hanevold) writes:
- >
- > >Stack EXTENSION, on the other hand, allows for a "fudge factor". If the
- > >remaining stack size at function entry time is less than the global long
- > >_STKNEED, a new stack extent is allocated. The default _STKNEED value
- > >is 400 bytes.
- > ^^^ This one is too little! It should be 4K by default. Like the OS.
- >
- Ah... But that only specifies how much must be available FOR THE
- CURRENT FUNCTION -- it does not specify the total size of the stack. If you
- were running with the default 4K stack, the second nested function invocation
- would rule that a stack extent needs to be allocated since the first function
- used some of the 4K...
-
- --
- > ============================================================ <
- > wulfraed@netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
- > D.Bieber@GEnie.com | FurryMUCK and FurToonia <
- > ============================================================ <
- > PGP key: Finger wulfraed@netcom.com <
- > Home Page: ftp://ftp.netcom.com/pub/wu/wulfraed/wulfraed.htm <
-